﻿using Inovout.Models;

namespace Inovout.Security
{
    public partial class User:DataObject
    {
        private int userId;
        public int UserId
        {
            get { return userId; }
        }
        private string name;
        [Alias("用户名")]
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string password;
        [Alias("密码")]
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public User()
        {
        }
        public User(int userId)
        {
            this.userId = userId;
        }
    }
}
